#include <stdio.h>
#include <stdlib.h>
#include <string.h>
void Rempmatt(char mat[200][200],int *t)
{
int i;
strcpy(mat[0],"00.bmp");
strcpy(mat[1],"10.bmp");
strcpy(mat[2],"11.bmp");
strcpy(mat[3],"12.bmp");
strcpy(mat[4],"13.bmp");
strcpy(mat[5],"14.bmp");
strcpy(mat[6],"15.bmp");
strcpy(mat[7],"16.bmp");
strcpy(mat[8],"20.bmp");
strcpy(mat[9],"22.bmp");
strcpy(mat[10],"30.bmp");
strcpy(mat[11],"32.bmp");
strcpy(mat[12],"33.bmp");
strcpy(mat[13],"34.bmp");
strcpy(mat[14],"35.bmp");
strcpy(mat[15],"36.bmp");
strcpy(mat[16],"40.bmp");
strcpy(mat[17],"42.bmp");
strcpy(mat[18],"44.bmp");
strcpy(mat[19],"45.bmp");
strcpy(mat[20],"46.bmp");
strcpy(mat[21],"50.bmp");
strcpy(mat[22],"52.bmp");
strcpy(mat[23],"55.bmp");
strcpy(mat[24],"56.bmp");
strcpy(mat[25],"60.bmp");
strcpy(mat[26],"62.bmp");
strcpy(mat[27],"66.bmp");
strcpy(mat[28],"00.bmp");
strcpy(mat[29],"01.bmp");
strcpy(mat[30],"11.bmp");
strcpy(mat[31],"21.bmp");
strcpy(mat[32],"31.bmp");
strcpy(mat[33],"41.bmp");
strcpy(mat[34],"51.bmp");
strcpy(mat[35],"61.bmp");
strcpy(mat[36],"02.bmp");
strcpy(mat[37],"22.bmp");
strcpy(mat[38],"03.bmp");
strcpy(mat[39],"23.bmp");
strcpy(mat[40],"33.bmp");
strcpy(mat[41],"43.bmp");
strcpy(mat[42],"53.bmp");
strcpy(mat[43],"63.bmp");
strcpy(mat[44],"04.bmp");
strcpy(mat[45],"24.bmp");
strcpy(mat[46],"44.bmp");
strcpy(mat[47],"54.bmp");
strcpy(mat[48],"64.bmp");
strcpy(mat[49],"05.bmp");
strcpy(mat[50],"25.bmp");
strcpy(mat[51],"55.bmp");
strcpy(mat[52],"65.bmp");
strcpy(mat[53],"06.bmp");
strcpy(mat[54],"26.bmp");
strcpy(mat[55],"66.bmp");
strcpy(mat[56],"00_90.bmp");
strcpy(mat[57],"10_90.bmp");
strcpy(mat[58],"11_90.bmp");
strcpy(mat[59],"12_90.bmp");
strcpy(mat[60],"13_90.bmp");
strcpy(mat[61],"14_90.bmp");
strcpy(mat[62],"15_90.bmp");
strcpy(mat[63],"16_90.bmp");
strcpy(mat[64],"20_90.bmp");
strcpy(mat[65],"22_90.bmp");
strcpy(mat[66],"30_90.bmp");
strcpy(mat[67],"32_90.bmp");
strcpy(mat[68],"33_90.bmp");
strcpy(mat[69],"34_90.bmp");
strcpy(mat[70],"35_90.bmp");
strcpy(mat[71],"36_90.bmp");
strcpy(mat[72],"40_90.bmp");
strcpy(mat[73],"42_90.bmp");
strcpy(mat[74],"44_90.bmp");
strcpy(mat[75],"45_90.bmp");
strcpy(mat[76],"46_90.bmp");
strcpy(mat[77],"50_90.bmp");
strcpy(mat[78],"52_90.bmp");
strcpy(mat[79],"55_90.bmp");
strcpy(mat[80],"56_90.bmp");
strcpy(mat[81],"60_90.bmp");
strcpy(mat[82],"62_90.bmp");
strcpy(mat[83],"66_90.bmp");
strcpy(mat[84],"00_90.bmp");
strcpy(mat[85],"01_90.bmp");
strcpy(mat[86],"11_90.bmp");
strcpy(mat[87],"21_90.bmp");
strcpy(mat[88],"31_90.bmp");
strcpy(mat[89],"41_90.bmp");
strcpy(mat[90],"51_90.bmp");
strcpy(mat[91],"61_90.bmp");
strcpy(mat[92],"02_90.bmp");
strcpy(mat[93],"22_90.bmp");
strcpy(mat[94],"03_90.bmp");
strcpy(mat[95],"23_90.bmp");
strcpy(mat[96],"33_90.bmp");
strcpy(mat[97],"43_90.bmp");
strcpy(mat[98],"53_90.bmp");
strcpy(mat[99],"63_90.bmp");
strcpy(mat[100],"04_90.bmp");
strcpy(mat[101],"24_90.bmp");
strcpy(mat[102],"44_90.bmp");
strcpy(mat[103],"54_90.bmp");
strcpy(mat[104],"64_90.bmp");
strcpy(mat[105],"05_90.bmp");
strcpy(mat[106],"25_90.bmp");
strcpy(mat[107],"55_90.bmp");
strcpy(mat[108],"65_90.bmp");
strcpy(mat[109],"06_90.bmp");
strcpy(mat[110],"26_90.bmp");
strcpy(mat[111],"66_90.bmp");
t[0]=00;
t[1]=10;
t[2]=11;
t[3]=12;
t[4]=13;
t[5]=14;
t[6]=15;
t[7]=16;
t[8]=20;
t[9]=22;
t[10]=30;
t[11]=32;
t[12]=33;
t[13]=34;
t[14]=35;
t[15]=36;
t[16]=40;
t[17]=42;
t[18]=44;
t[19]=45;
t[20]=46;
t[21]=50;
t[22]=52;
t[23]=55;
t[24]=56;
t[25]=60;
t[26]=62;
t[27]=66;
t[28]=00;
t[29]=01;
t[30]=11;
t[31]=21;
t[32]=31;
t[33]=41;
t[34]=51;
t[35]=61;
t[36]=02;
t[37]=22;
t[38]=03;
t[39]=23;
t[40]=33;
t[41]=43;
t[42]=53;
t[43]=63;
t[44]=04;
t[45]=24;
t[46]=44;
t[47]=54;
t[48]=64;
t[49]=05;
t[50]=25;
t[51]=55;
t[52]=65;
t[53]=06;
t[54]=26;
t[55]=66;
}
